package com.songlanyun.modules.coupon.dao;

import com.songlanyun.modules.coupon.entity.CouponShopEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.songlanyun.modules.shop.model.vo.ShopSlimVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-07-05 15:20:02
 */
@Mapper
public interface CouponShopDao extends BaseMapper<CouponShopEntity> {

    List<ShopSlimVO> loadAdaptShops(@Param("couponId") Long couponId);

    List<Long> loadAdaptShopIds(@Param("couponId") Long couponId);
}
